package com.jlkf.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jlkf.dao.SystemMapper;
import com.jlkf.dao.SystemMapper;
import com.jlkf.dao.SystemMapper;
import com.jlkf.service.SystemService;

@Service
public class SystemServiceImpl implements SystemService {

	@Autowired
	private SystemMapper systemMapper;
	
	/**
	 * 职业方向列表
	 */
	@Override
	public List<Map<String, Object>> selectJobDirectionList(Map<String, Object> map) {
		return systemMapper.selectJobDirectionList(map);
	}
	
	/**
	 * 删除职业方向
	 */
	@Override
	public int deleteJobDirection(String id) {
		return systemMapper.deleteJobDirection(id);
	}

	/**
	 * 添加职业方向
	 */
	@Override
	public int insertJobDirection(Map<String, Object> map) {
		return systemMapper.insertJobDirection(map);
	}

	/**
	 * 编辑职业方向
	 */
	@Override
	public int updateJobDirection(Map<String, Object> map) {
		return systemMapper.updateJobDirection(map);
	}

	/**
	 * 知识体系列表
	 */
	@Override
	public List<Map<String, Object>> selectknowledgeList(Map<String, Object> map) {
		return systemMapper.selectJobDirectionList(map);
	}

	/**
	 * 添加知识体系
	 */
	@Override
	public int insertKnowledge(Map<String, Object> map) {
		return systemMapper.insertKnowledge(map);
	}

	/**
	 * 阶段列表
	 */
	@Override
	public List<Map<String, Object>> stageList(Integer knowledgeid) {
		return systemMapper.stageList(knowledgeid);
	}

	/**
	 * 删除阶段
	 */
	@Override
	public int deleteStage(String id) {
		return systemMapper.deleteStage(id);
	}

	/**
	 * 编辑阶段
	 */
	@Override
	public int updateStage(Map<String, Object> map) {
		return systemMapper.updateStage(map);
	}

	/**
	 * 查看特色课程一级二级跟三级分类
	 */
	@Override
	public List<Map<String, Object>> selectFeatrueCourseOneStair(Integer id) {
		return systemMapper.selectFeatrueCourseOneStair(id);
	}

	/**
	 * 添加特色课程
	 */
	@Override
	public int insertFeatrue(Map<String, Object> map) {
		return systemMapper.insertFeatrue(map);
	}

	/**
	 * 编辑特色课程
	 */
	@Override
	public int updateFeatrue(Map<String, Object> map) {
		return systemMapper.updateFeatrue(map);
	}
	
	

}
